/**
 * @description 对象转换url
 * @param {Object} obj
 * @returns {string} 返回值
 */
export default function(obj) {
	let url = "";
	for (let key in obj) {
		url += `${key}=${obj[key]}&`;
	}
	return "?" + url;
}